#ifndef KEYBOARD_H
#define KEYBOARD_H

typedef struct keyboardmsg
{
	unsigned char	src_data[2];
	unsigned int	shift;
	unsigned int	caps;
}__attribute__ ((packed)) KEYBOARDMSG;

typedef struct keyboardbuff
{
	unsigned int	push_ip;
	unsigned int	pop_ip;
	unsigned char	buff[32];
}__attribute__ ((packed)) KEYBOARDBUFF;

typedef struct keyboardpos
{
	unsigned int	pb;
	unsigned int	pp;
}KEYBOARDPOS;

void keyboard_install(const void *addr);

void keyboard_run();

#endif
